package com.example.demo.dao;
import com.example.demo.entity.Sys_role;
import org.springframework.data.relational.core.sql.In;

import java.util.List;
public interface Sys_roleDao {
    //添加
    public int saveSys_role(Sys_role sys_role);
    //获取所有角色信息
    public List<Sys_role> getAllSys_role();
    //查询(id)
    public Sys_role getSys_roleById(Integer id);
    //修改
    public int updateSys_role(Sys_role sys_role);
    //删除(id)
    public int deleteSys_role(Integer id);
}
